const applyForDao = require("../dao/applyForDao");

module.exports.find=async function(searchObj,page){
  return  await applyForDao.find(searchObj,page)
}


//根据
module.exports.delete = async function (id) {
    return await applyForDao.delete(id)
}
// 修改
module.exports.update = async function (id, applyFor) {
    return await applyForDao.update(id, applyFor)
}

//增加
module.exports.insert = async function (applyFor) {
    return await applyForDao.insert(applyFor)

}